public class Boat {
    String weight;
    String name;
    String way1;
    String way2;
    public Boat(String weight,String name,String way1,String way2){
        this.weight=weight;
        this.name=name;
        this.way1=way1;
        this.way2=way2;
    }
    public String getName() {
        return name;
    }

    public String getWeight() {
        return weight;
    }

    public String getWay1() {
        return way1;
    }

    public String getWay2() {
        return way2;
    }
}
